Skip to content

Conversation

@ErjieWu
Copy link
Collaborator

@ErjieWu ErjieWu commented Apr 1, 2025

What's changed?

  • Remove the usage of if constexpr in DeePKS since it is the feature in C++17 and does not supported in C++11.
  • Add init_DMR() and update_dmr() to save and calculate DMR used in DeePKS. In the previous version, the calculation of DMR in DeePKS happens in force/stress calculation and for updating hamiltonian, which can be calculated only once in one iteration.

@mohanchen mohanchen added The Absolute Zero Reduce the "entropy" of the code to 0 Machine Learning Issues related to the DeePKS labels Apr 2, 2025
@mohanchen mohanchen merged commit e3193c8 into deepmodeling:develop Apr 2, 2025
14 checks passed
@ErjieWu ErjieWu deleted the refactor branch April 2, 2025 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Machine Learning Issues related to the DeePKS The Absolute Zero Reduce the "entropy" of the code to 0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants